package com.transaction.demo.trade.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述：预下单
 * 作者：马庆智
 * 日期：2023/04/27 17:22:10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("预下单请求vo")
public class InitPaymentOrderReqVo implements Serializable {

    @ApiModelProperty("业务编号")
    @NotBlank(message = "businessId业务编号不能为空")
    private String businessId;

    @ApiModelProperty("商品名称")
    @NotBlank(message = "productName商品名称不能为空")
    private String productName;

    @ApiModelProperty("订单金额")
    @NotBlank(message = "price订单金额不能为空")
    private String price;

    @ApiModelProperty("支付备注")
    private String remark;

}